package com.test.webchat.Service;

import com.test.webchat.Pojo.Model.Friend;
import com.test.webchat.Pojo.Response.MessageSessionResponse;

import java.util.List;

public interface SessionService {
    List<Integer> getAllSessionId(Integer userId);
    List<Friend> getFriendsBySessionId(Integer sessionId, Integer userId);
    List<MessageSessionResponse> getSessionList(Integer userId);

    Integer addSession(Integer toUserId,Integer userId);
}
